3.1806 \(\int \left (a+\frac{b}{x^2}\right ) x^2 \, dx\)

Optimal. Leaf size=12 \[ \frac{a x^3}{3}+b x \]

[Out]

b*x + (a*x^3)/3

_______________________________________________________________________________________

Rubi [A]  time = 0.0132819, antiderivative size = 12, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091 \[ \frac{a x^3}{3}+b x \]

Antiderivative was successfully verified.

[In]  Int[(a + b/x^2)*x^2,x]

[Out]

b*x + (a*x^3)/3

_______________________________________________________________________________________

Rubi in Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \frac{a x^{3}}{3} + \int b\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((a+b/x**2)*x**2,x)

[Out]

a*x**3/3 + Integral(b, x)

_______________________________________________________________________________________

Mathematica [A]  time = 0.000962509, size = 12, normalized size = 1. \[ \frac{a x^3}{3}+b x \]

Antiderivative was successfully verified.

[In]  Integrate[(a + b/x^2)*x^2,x]

[Out]

b*x + (a*x^3)/3

_______________________________________________________________________________________

Maple [A]  time = 0.001, size = 11, normalized size = 0.9 \[ bx+{\frac{a{x}^{3}}{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((a+b/x^2)*x^2,x)

[Out]

b*x+1/3*a*x^3

_______________________________________________________________________________________

Maxima [A]  time = 1.47025, size = 14, normalized size = 1.17 \[ \frac{1}{3} \, a x^{3} + b x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((a + b/x^2)*x^2,x, algorithm="maxima")

[Out]

1/3*a*x^3 + b*x

_______________________________________________________________________________________

Fricas [A]  time = 0.221343, size = 14, normalized size = 1.17 \[ \frac{1}{3} \, a x^{3} + b x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((a + b/x^2)*x^2,x, algorithm="fricas")

[Out]

1/3*a*x^3 + b*x

_______________________________________________________________________________________

Sympy [A]  time = 0.064747, size = 8, normalized size = 0.67 \[ \frac{a x^{3}}{3} + b x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((a+b/x**2)*x**2,x)

[Out]

a*x**3/3 + b*x

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.2295, size = 14, normalized size = 1.17 \[ \frac{1}{3} \, a x^{3} + b x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((a + b/x^2)*x^2,x, algorithm="giac")

[Out]

1/3*a*x^3 + b*x